<?php

class LoginModel extends ArrayProcessor_XMLElements {

	public static function getLoginRequestData ()  {
		// Load the file needed to create the login formular
		$xml = AutoFileLoader::getFileContent(AutoFileLoader::FILE_XML, 'login');

		$loginRequest = array();

		$loginRequest[self::ELE_GENERAL] = self::XMLToHTMLArray($xml, self::ELE_GENERAL, '');

		$loginRequest[self::ELE_STRUCTURE] = self::XMLToHTMLArray($xml, self::ELE_STRUCTURE, '');

		return $loginRequest;
	}

}